查询支行列表 
本接口可以用于根据银行别名编码(仅支持需要填写支行的银行别名编码)和城市编码过滤查询支行列表数据
| 请求参数 | 类型 | 描述 | 
|---|---|---|
| bank_alias_code | string | 银行别名编码 | 
| query | object | 声明请求的查询参数 | 
| city_code | integer | 城市编码 | 
| offset | integer | 本次查询偏移量 | 
| limit | integer | 本次请求最大查询条数 | 
php
$instance->v3->capital->capitallhh->banks->_bank_alias_code_->branches->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance->chain('v3/capital/capitallhh/banks/{bank_alias_code}/branches')->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$instance['v3/capital/capitallhh/banks/{bank_alias_code}/branches']->getAsync([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();php
$response = $instance->v3->capital->capitallhh->banks->_bank_alias_code_->branches->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance->chain('v3/capital/capitallhh/banks/{bank_alias_code}/branches')->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));php
$response = $instance['v3/capital/capitallhh/banks/{bank_alias_code}/branches']->get([
  'bank_alias_code' => '1000006247',
  'query' => [
    'city_code' => 536,
    'offset'    => 0,
    'limit'     => 200,
  ],
]);
print_r(json_decode((string) $response->getBody(), true));| 返回字典 | 类型 | 描述 | 
|---|---|---|
| total_count | integer | 查询数据总条数 | 
| count | integer | 本次查询条数 | 
| data | object[] | 支行列表 | 
| bank_branch_name | string | 开户银行支行名称 | 
| bank_branch_id | string | 开户银行支行联行号 | 
| offset | integer | 本次查询偏移量 | 
| links | object | 分页链接 | 
| next | string | 下一页链接 | 
| prev | string | 上一页链接 | 
| self | string | 当前链接 | 
| account_bank | string | 开户银行 | 
| account_bank_code | integer | 开户银行编码 | 
| bank_alias | string | 银行别名 | 
| bank_alias_code | string | 银行别名编码 | 
参阅 官方文档